package com.guigu.www.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author DengHao
 * @since 2021-10-21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
// @ApiModel(value="Rubric对象", description="")
public class Rubric implements Serializable {

    private static final long serialVersionUID=1L;

    // @ApiModelProperty(value = " 题库ID")
    @TableId(value = "rub_id", type = IdType.AUTO)
    private Integer rubId;

    // @ApiModelProperty(value = " 题目名称")
    private String rubName;

    // @ApiModelProperty(value = " 题目类型")
    private Integer rubType;

    // @ApiModelProperty(value = " 适用性别")
    private String rubGender;

    // @ApiModelProperty(value = " 建题时间")
    private String rubCreateTime;

    // @ApiModelProperty(value = " 题目状态（0,正常；1,已删除[删除了就不再显示，但是用户答过这道题还是能查到]）")
    private Integer rubState;

    // 邓浩添加 题目选项集合
    @TableField(exist = false)
    private List<RubricOption> options;

    // 罗露金添加 题目选项集合
    @TableField(exist = false)
    private RubricOption rubricOption;

    // 邓浩添加
    @TableField(exist = false)
    private Propose propose;
}
